import React, {} from 'react'
import { Route, Switch,} from 'react-router-dom'
import Loadable from 'react-loadable'

const Login = Loadable({
    loader: () => import('../../components/login'),
    loading: () => <div></div>
});


const loginRouter = () => {
    return (
        <Switch>
            <Route path='/login' component={Login}></Route>
        </Switch>
    )
}
export default loginRouter
